/*

Author   : chaos

FileName : struct1.cpp

Date     : 10/08/17 14:49:37

*/
#include <iostream>
using namespace std;

struct STUDENT {
    char name[16];
    char no[5];
    float height,weight;
    int math,english;
};

int main(int argc ,char *argv[])
{
    struct STUDENT John = { "John","0002",173.5,67.5,60,65 };

    cout << "struct STUDENT John :" << endl;

    cout << "name =" << John.name << endl;
    cout << "no = " << John.no << endl;
    cout << "height =" << John.height << endl;
    cout << "weight = " << John.weight << endl;
    cout << "math = " << John.math << endl;
    cout << "english = " << John.english << endl;
    return 0;
}
